package com.senior.sendmessage.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 邮件发送配置
 * @author baijiliang
 */
@ConfigurationProperties(prefix = "mail")
@Configuration
@Data
public class MailConfig {
    private String subject;
    private String from;
    private String to;
    private String cc;
}
